﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHQGHN.DAL.Models.Admin
{
    public class AdmUnitModel
    {
        //ham tao 
        public string Adm_Unit_Id { get; set; }
        public string Adm_Name { get; set; }
        public string Code { get; set; }
        public string P_Code { get; set; }
        public string Adm_Type { get; set; }
        public int? Levels { get; set; }
        public string Province_Code { get; set; }
        public string District_Code { get; set; }
        public string Commune_Code { get; set; }
        public string Province_Name { get; set; }
        public string District_Name { get; set; }
        public string Commune_Name { get; set; }
        public string Descriptions { get; set; }
        public int RecordCount { get; set; }
        public int Deleted { get; set; }
        //dua ra cac truongco trong bang 
        #region Field list from database
        public const string FIELD_ADM_UNIT_ID = "ADM_UNIT_ID";
        public const string FIELD_ADM_NAME = "ADM_NAME";
        public const string FIELD_CODE = "CODE";
        public const string FIELD_P_CODE = "P_CODE";
        public const string FIELD_ADM_TYPE = "ADM_TYPE";
        public const string FIELD_LEVELS = "LEVELS";
        public const string FIELD_PROVINCE_CODE = "PROVINCE_CODE";
        public const string FIELD_DISTRICT_CODE = "DISTRICT_CODE";
        public const string FIELD_COMMUNE_CODE = "COMMUNE_CODE";
        public const string FIELD_PROVINCE_NAME = "PROVINCE_NAME";
        public const string FIELD_DISTRICT_NAME = "DISTRICT_NAME";
        public const string FIELD_COMMUNE_NAME = "COMMUNE_NAME";
        public const string FIELD_DESCRIPTIONS = "DESCRIPTIONS";
        public const string FIELD_DELETED = "DELETED";
        public const string FIELD_RECORD_COUNT = "RecordCount";
        #endregion
    }
}
